<!DOCTYPE html>
<html lang="zh-CN">

    <#assign html_title="搬砖之家">
<head>

    <#include "/components/head.htm"   />
    <style>
        .table > thead > tr > th,
        .table > tbody > tr > th,
        .table > tfoot > tr > th,
        .table > thead > tr > td,
        .table > tbody > tr > td,
        .table > tfoot > tr > td {
            padding: 13px;
            line-height: 1.42857143;
            vertical-align: middle;
            border-top: 1px solid #ddd;
        }
    </style>
</head>
 <body>
<div id="fullPage">
    <!--Page One-->
    <#include "/components/header.section.htm"   />
    <section>
        <div class="container white-block">
            <h3>当前订阅的项目</h3>
            <table class="table table-hover table-striped">
                <tr>
                    <th>序号</th>
                    <th>网站</th>
                    <th>开始订阅时间</th>
                    <th>最后修改时间</th>
                    <th>订阅到期时间</th>
                </tr>
                <#list currList as item >
                <tr>
                    <td>${item_index+1}</td>
                    <td>${item.site1}</td>
                    <td>${item.start_time?string("yyyy-MM-dd HH:mm:ss")}</td>
                    <td>${item.modify_time?string("yyyy-MM-dd HH:mm:ss")}</td>
                    <td>${item.expire_time?string("yyyy-MM-dd HH:mm:ss")}</td>
                </tr>

                </#list>
            </table>
        </div>
    </section>
    <section>
        <div class="container white-block">
            <h3>已过期的项目</h3>
            <table class="table table-hover table-striped">
                <tr>
                    <th>序号</th>
                    <th>网站</th>
                    <th>开始订阅时间</th>
                    <th>最后修改时间</th>
                    <th>订阅到期时间</th>
                    <th>操作</th>
                </tr>
                <#list expireList as item >
                    <tr>
                        <td>${item_index+1}</td>
                        <td>${item.site1!'N/A'}</td>
                        <td>${item.start_time?string("yyyy-MM-dd HH:mm:ss")}</td>
                        <td>${item.modify_time?string("yyyy-MM-dd HH:mm:ss")}</td>
                        <td style="color: red;">${item.expire_time?string("yyyy-MM-dd HH:mm:ss")}</td>
                        <td><a href="/view/buy/combo?site=${item.site1!}">续费</a></td>
                    </tr>

                </#list>
            </table>
        </div>
    </section>
</div>
<script>
    $(document).ready(function () {

    });
</script>
</body>

</html>